package com.coolingme.calculatebracket;

/**
 * @author wangyue
 * @date 2022/12/25 17:05
 */
public class Test {
    public static void main(String[] args) {
//        System.out.println("result: " + new Calculator("10 + ( ( 10 + 10 * 10 ) * 10 ) + ( 10 * 10 ) + 30").calculate());
        System.out.println("result: " + new Calculator("1 + ( 2 + 3 ) * 4 - 5").calculate());
    }
}

